XGetWindowAttributes

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
  1. Status function(Display* display, Window w, XWindowAttributes* win_attr) XGetWindowAttributes;
  2. Status XGetWindowAttributes(Display* display, Window w, XWindowAttributes* win_attr)
    version(X11 && !SharedX11)
    extern (C) nothrow @nogc __gshared extern
    XGetWindowAttributes

Meta